package shared;

public class XMLRMIException extends Exception {
	
	private String message ="";
	
	public XMLRMIException(String error){
		this.message = " XMLRMIException : " + error;
	}
	
	@Override
	public void printStackTrace(){
		System.err.println(message);
		super.printStackTrace();
	}
	
	@Override
	public String getMessage(){
		return message;
	}
}
